package com.zx.kitchen.index.common.entity;

import com.zx.kitchen.index.common.utils.treeviewutil.annotation.TreeNodeId;
import com.zx.kitchen.index.common.utils.treeviewutil.annotation.TreeNodeLabel;
import com.zx.kitchen.index.common.utils.treeviewutil.annotation.TreeNodePid;

/**
 * Created by Administrator on 2017/3/5.
 */

public class CateListBean {
    /**
     * 当前id
     */
    @TreeNodeId
    private String id;
    /**
     * 标记名称
     */
    @TreeNodeLabel
    private String name;
    /**
     * 父节点id
     */
    @TreeNodePid
    private String fid;
    private String type;
    private int is_last;

    public CateListBean(String id,  String fid,String name) {
        this.id = id;
        this.name = name;
        this.fid = fid;
    }

    public CateListBean() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getIs_last() {
        return is_last;
    }

    public void setIs_last(int is_last) {
        this.is_last = is_last;
    }
}
